function go_folder(folder_id) { 
	var dataStr = 'folder_id='+escape(folder_id); 
	return load_content("content/folder.php", "POST", dataStr);
}      
function edit_folder_name() {
	var new_name = prompt("Edit folder's name", "");
	if(new_name) {
		var dataStr = 'new_name='+(new_name); 
		return load_content("script/folder/rename_folder.php", "POST", dataStr);
	}
	return 0;
}
   
function add_subfolder() {
	return load_content("script/folder/add_subfolder.php", "POST", "");
}

function delete_folder() {
	var answer = confirm("Are you sure to delete this folder?")
	if (answer)
		return load_content("script/folder/delete_folder.php", "POST", "");
	return false;
}
